package com.bookmall.member.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.bookmall.member.domain.MemberLevel;

/**
 * @Description:
 * @Author 胡菜鸡
 * @Create 2022-04-01-10:39
 */
public interface IMemberLevelService extends IService<MemberLevel> {
    /**
     * 获取默认等级
     * @author 胡菜鸡
     * @date 2022/5/6 13:49
     */
    MemberLevel getDefaultLevel();

    /**
     * 保存一个会员等级
     * @author 胡菜鸡
     * @date 2022/5/7 14:53
     */
    int saveMemberLevel(MemberLevel memberLevel);
}
